﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LOLApi.Models
{
    public class Matches
    {
        public long accountId { get; set; }
        public Games games { get; set; }

    }

    public class Games
    {
        public string gameBeginDate { get; set; }
        public int gameCount { get; set; }
        public string gameEndDate { get; set; }
        public int gameIndexBegin { get; set; }
        public int gameIndexEnd { get; set; }
        public List<MatchGames> games { get; set; }
    }

    public class MatchGames
    {
        public string gameCreationDate { get; set; }
        public long gameId { get; set; }
        public string platformId { get; set; }
        public int queueId { get; set; }
        public int seasonId { get; set; }
        public long gameCreation { get; set; }
        public int gameDuration { get; set; }
        public int mapId { get; set; }
        public string gameMode { get; set; }
        public string gameType { get; set; }
        public List<ParticipantIdentity> participantIdentities { get; set; }
        public List<Participant> participants { get; set; }
        public List<Team> teams { get; set; }
    }



    public class ParticipantIdentity
    {
        public int participantId { get; set; }
        public Player player { get; set; }
    }




    public class Participant
    {
        public int championId { get; set; }
        public string highestAchievedSeasonTier { get; set; }
        public int participantId { get; set; }
        public int spell1Id { get; set; }
        public int spell2Id { get; set; }
        public Stats stats { get; set; }
        public int teamId { get; set; }
        public Timeline timeline { get; set; }
    }

    public class Ban
    {
        public int championId { get; set; }
        public int pickTurn { get; set; }
    }
    public class Team
    {
        public List<Ban> bans { get; set; }
        public int baronKills { get; set; }
        public int dominionVictoryScore { get; set; }
        public int dragonKills { get; set; }
        public bool firstBaron { get; set; }
        public bool firstBlood { get; set; }
        public bool firstDragon { get; set; }
        public bool firstInhibitor { get; set; }
        public bool firstRiftHerald { get; set; }
        public bool firstTower { get; set; }
        public int inhibitorKills { get; set; }
        public int riftHeraldKills { get; set; }
        public int teamId { get; set; }
        public int towerKills { get; set; }
        public int vilemawKills { get; set; }
        public string win { get; set; }
    }
}
